import service from '@/utils/request';

export const userList = (data) => { // 普通用户
  return service({
    url: '/base/user/list',
    method: 'post',
    data: data
  })
}
export const riderList = (data) => { //骑手用户
  return service({
    url: '/base/rider/list',
    method: 'get',
    params: data
  })
}
export const outletsList = (data) => { // 网点用户
  return service({
    url: '/base/outlets/list',
    method: 'post',
    data
  })
}
export const userStatus = (data) => {
  return service({
    url: '/base/user/status',
    method: 'put',
    data: data
  })
}
export const riderStatus = (data) => {
  return service({
    url: '/base/rider/status',
    method: 'put',
    data: data
  })
}
export const outletsStatus = (data) => {
  return service({
    url: '/base/outlets/status',
    method: 'put',
    data: data
  })
}
